Skip to content

Sync Mac PerformerDetailView with iOS; fit artist images; focus Artists search#205

Merged
dprodger merged 1 commit into
mainfrom
mac-performer-detail-sync
May 29, 2026
Merged

Sync Mac PerformerDetailView with iOS; fit artist images; focus Artists search#205
dprodger merged 1 commit into
mainfrom
mac-performer-detail-sync

Conversation

@dprodger

Copy link
Copy Markdown
Owner

Summary

Brings the macOS PerformerDetailView in line with iOS, fixes artist-image cropping on both platforms, and makes the Artists tab focus its search field on selection.

iOS

  • Artist image hero switched from aspect-fill to aspect-fit so portrait shots are no longer cropped top/bottom. The hero is sized from each image's aspect ratio and capped to the window height, while still bleeding past the horizontal gutters.

Mac PerformerDetailView (sync with iOS)

  • Image carousel that pages through all images (trackpad swipe + hover arrows + tappable dots), 320pt, aspect-fit so nothing is cropped.
  • Header uses iOS-style birth/death date and instrument formatting — now lists all instruments primary-first (fixes the "Trumpet"-only regression).
  • BIOGRAPHY: typography-only with a height-capped Read More — no surrounding box, no section-level collapse, and no duplicated dates/instruments. Learn More links restyled to match iOS.
  • RECORDINGS: removed the leading icon, heading matched to BIOGRAPHY, bordered sort pill moved off the far right, brand-styled role segmented control, per-group +/- accordions, and Year (bold) / Recording title (bold) / Album (normal) card order.

Artists search focus

  • MacSearchBar gains an optional focus binding.
  • ContentView posts a focusArtistSearch signal whenever the Artists tab becomes selected (covers both the top tab control and the menu command).
  • ArtistsListView consumes it and focuses the search field.

Testing

  • xcodebuild of the ApproachNoteMac scheme succeeds (macOS, code signing disabled).
  • iOS target not built locally (no iOS simulator destination in this environment) — worth a quick build in Xcode to confirm.

🤖 Generated with Claude Code

…ts search

iOS PerformerDetailView: switch the artist image hero from aspect-fill to
aspect-fit so portrait shots are no longer cropped top/bottom, sizing the
hero from each image's aspect ratio and capping it to the window height
while still bleeding past the horizontal gutters.

Mac PerformerDetailView: bring it in line with iOS -
- header image carousel that pages through all images (swipe + hover arrows
  + tappable dots), 320pt, aspect-fit (no cropping)
- iOS-style birth/death date and instrument formatting (all instruments,
  primary-first), fixing the "Trumpet"-only regression
- typography-only BIOGRAPHY with a height-capped Read More (no box, no
  duplicated dates/instruments) and iOS-styled Learn More links
- RECORDINGS section: drop the icon, match BIOGRAPHY heading, bordered sort
  pill moved off the far right, brand-styled role segmented, +/- accordions,
  and Year/Title/Album card order

Artists tab: focus the search field whenever the Artists tab is selected.
MacSearchBar gains an optional focus binding; ContentView posts a
focusArtistSearch signal on tab change which ArtistsListView consumes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dprodger dprodger merged commit 7c025eb into main May 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant